﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CarolLib.Configuration;
using System.Xml;

namespace DispatchAssist.BusinessLogical.Configuration
{
    public class ShareDicDownloadConfiguration : ConfigurationBase
    {
        public ShareDicDownloadConfiguration()
            : base()
        { }

        public ShareDicDownloadConfiguration(XmlNode node)
            : base()
        {
        }

        public ShareDicDownloadSetting Settings { get; private set; }

        public static ShareDicDownloadConfiguration GetConfig()
        {
            return GetConfig<ShareDicDownloadConfiguration>("sharedicdownload");
        }

        protected override void LoadValuesFromConfigurationXml(System.Xml.XmlNode node)
        {
            Settings = new ShareDicDownloadSetting(node);
        }
    }
}
